// 3. 类型出错
function greeter(person: string) {
  return `Hello, ${person}`;
}

const user = [0, 1, 2];

// greeter.ts(7,26): error TS2345: Argument of type 'number[]' is not assignable to parameter of type 'string'.
document.body.innerHTML = greeter(user);

export {};
